package April.Ten;
/*
    System.arrayCopy(原数组，开始索引，复制到的数组，复制到第几个索引，从开始索引（替换）复制几个);方法
 */
public class SystemDemo {
    public static void main(String[] args){
        function_1();
    }

    public static void function_1(){
        int[] scr =  {11,22,33,44,55};
        int[]  kra = {66,77,88,99,00};
        System.arraycopy(scr,2,kra,2,2);
        for (int i = 0; i <kra.length ; i++) {
        System.out.println(kra[i]);
        }
    }
}
